import Vue from 'vue'
import Router from 'vue-router'
import exhibitionList from '@/pages/exhibitionList'
// import exhibitionForm from '@/pages/exhibitionForm'
// import checkSuccess from '@/pages/success'
import signUp from '@/pages/signUp'
import signPage from '@/pages/signPage'
import uploadVoucher from '@/pages/uploadVoucher'
import Test from '@/pages/test'
Vue.use(Router)

export default new Router({
  routes: [

    {
      path: '/',
      name: 'exhibitionList',
      component: exhibitionList,
      meta: {
        title: '厦门国际会展周'
      }
    },
    {
      path: '/sign',
      name: 'signUp',
      component: signUp,
      meta: {
        title: '报名'
      }
    },
    {
      path: '/state',
      name: 'uploadVoucher',
      component: uploadVoucher,
      meta: {
        title: '状态'
      }
    },
    {
      path: '/readSign',
      name: 'testPage',
      component: Test,
      meta: {
        title: '樊登大型千人演讲<福建站>'
      }
    },
    {
      path: '/test',
      name: 'signPage',
      component: signPage,
      meta: {
        title: 'test'
      }
    }
    // {
    //   path: '/success',
    //   name: 'checkSuccess',
    //   component: checkSuccess,
    //   meta: {
    //     title: '报名状态'
    //   }
    // }
  ]
})
